package com.xiaomei.manager.service;

import java.util.List;

import com.xiaomei.manager.model.Banner;
import com.xiaomei.manager.web.dto.req.BannerQueryDto;
import com.xiaomei.manager.web.page.Page;

public interface IBannerService {
	/**
	 * 
	 * 根据请求参数map查询banner图信息
	 * @param paramMap 请求参数map
	 * @return banner数据集
	 */
	List<Banner> getBannerForList (BannerQueryDto dto, Page<Banner> page);
	Integer selectMaxId();
	Boolean createBanner(Banner record);
	 Banner findOne(Integer id);
	 boolean updateBanner(Banner record);
	 boolean deleteBanner(Integer id);
	
}
